package cn.opopopo.designpatterns.demos.web.Dimitprinciple;

// 测试类
public class Main {
    public static void main(String[] args) {
        Shop shop = new Shop();
        Manager manager = new Manager(shop);
        Customer customer = new Customer("小红");

        // 客户通过经理获取商店，再调用商店的服务
        manager.getShop().serve(customer);
    }
}